package net.ikenway.springboot.demo.Service.Interface;

import net.ikenway.springboot.demo.Model.Dto.ActivityDto;

import java.util.List;

/**
 * @author MasterKenway <zk@ikenway.net>
 * @Description
 * @date Created Date 12/20/2020
 */
public interface ActivityServiceIntf {
    List<ActivityDto> findAll() throws Exception;

    List<ActivityDto> findAllByEnable(Boolean enable) throws Exception;

    ActivityDto create(ActivityDto activityDto) throws Exception;

    void update(ActivityDto activityDto) throws Exception;

    void disable(List<Long> actIds) throws Exception;

    void enable(List<Long> actIds) throws Exception;

    void delete(List<Long> actIds) throws Exception;
}
